#ifndef SINGLE
//  An adapted ObjectSpace example for use with SGI STL

#include <iostream.h>
#include <vectorbool.h>

#ifdef MAIN
#define bvec1_test main
#endif
#endif
int bvec1_test(int, char**)
{
  cout<<"Results of bvec1_test:"<<endl;
  vector_bool b(3);
  int i;
  for(i = 0; i < b.size(); i++)
    cout << b[i];
  cout << endl;
  b[0] = b[2] = 1;
  for(i = 0; i < b.size(); i++)
    cout << b[i];
  cout << endl;
  return 0;
}
